﻿using System;
using WindowsPhoneEssentials.Commands;

namespace WindowsPhoneMvp.Commands
{
    [Obsolete("Use DelegateCommand<T>", true)]
    public class RelayCommand<T> : DelegateCommand<T>
    {
        public RelayCommand(Action<T> executeMethod) : base(executeMethod)
        {
        }

        public RelayCommand(Action<T> executeMethod, Func<T, bool> canExecuteMethod) : base(executeMethod, canExecuteMethod)
        {
        }
    }
}